x86: fix tboot after c/s 23013:65d26504e843 (ACPI cleanup)
authorJan Beulich <jbeulich@novell.com>
Sat, 26 Mar 2011 09:30:04 +0000 (09:30 +0000)
committerJan Beulich <jbeulich@novell.com>
Sat, 26 Mar 2011 09:30:04 +0000 (09:30 +0000)
commit5286eff6735f19f55553ee7af0d76dfb7ee8d24d
treee789a9d50793aa0de84091dbe758acf1312c6125
parent1b5efa212fcff6439d91cbc04cda7d57b498d582
x86: fix tboot after c/s 23013:65d26504e843 (ACPI cleanup)

TXT code calls acpi_parse_dmar() with a transient copy of the DMAR
table, and hence storing the pointer for later reference was wrong.
Obtain the pointer in acpi_dmar_init() instead.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Tested-by: Gang Wei <gang.wei@intel.com>
xen/drivers/passthrough/vtd/dmar.c